#include <iostream>
using namespace std;

int main()
{
    int a, b, c;
    cin >> a >> b >> c;

    // 手动排序三条边，使得a <= b <= c
    if (a > b)
    {
        int temp = a;
        a = b;
        b = temp;
    }
    if (b > c)
    {
        int temp = b;
        b = c;
        c = temp;
    }
    if (a > b)
    {
        int temp = a;
        a = b;
        b = temp;
    }

    // 检查是否能构成三角形
    if (a + b <= c)
    {
        cout << "Not triangle" << endl;
        return 0;
    }

    // 检查等边三角形
    if (a == b && b == c)
    {
        cout << "Equilateral triangle" << endl;
        return 0;
    }

    // 检查等腰三角形
    int isIsosceles = (a == b || b == c || a == c);

    // 检查直角三角形
    int isRight = (a * a + b * b == c * c);

    // 检查锐角三角形
    int isAcute = (a * a + b * b > c * c);

    // 检查钝角三角形
    int isObtuse = (a * a + b * b < c * c);

    // 按题目要求的顺序输出
    if (isRight)
    {
        cout << "Right triangle" << endl;
    }
    if (isAcute)
    {
        cout << "Acute triangle" << endl;
    }
    if (isObtuse)
    {
        cout << "Obtuse triangle" << endl;
    }
    if (isIsosceles)
    {
        cout << "Isosceles triangle" << endl;
    }

    return 0;
}